function makeResponsive(isResp, respDim, isScale, scaleType) {		
	var lastW, lastH, lastS=1;		
	window.addEventListener('resize', resizeCanvas);		
	resizeCanvas();		
	function resizeCanvas() {
		/**
		 * [isLiuBai description]
		 * 此为如果手机屏的 高/宽 小于 1206 / 750的话是否按高度适{如果按高度适配，宽度就填不满，两边会有留白}
		 * isLiuBai = true {就会按高度适配，超出屏幕底会被截掉}
		 * @type {Boolean}
		 */
		var isLiuBai = true; 			
		var w = lib.properties.width, h = lib.properties.height;			
		var iw = document.documentElement.clientWidth, ih=document.documentElement.clientHeight;			
		var pRatio = 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;
		var mLeft = 0;
		var sw,sh;	
		//按宽还是按高
		ih / iw < h / w ? isLiuBai ? void(sh = ih, sw = w * (ih / h),mLeft = (iw - sw) / 2) : void(sw = iw,sh = h * (iw / w))  : void(sw = iw,sh = h * (iw / w));
		console.log(sw,sh,mLeft);
		
		canvas.width = w;			
		canvas.height = h;
		canvas.style.width = anim_container.style.width = dom_overlay_container.style.width = preloaderDiv.style.width = sw+'px';				
		canvas.style.height = anim_container.style.height = dom_overlay_container.style.height = preloaderDiv.style.height = sh+'px';
		canvas.style.marginLeft = mLeft + 'px';
		stage.scaleX = pRatio*sRatio;			
		stage.scaleY = pRatio*sRatio;			
		lastW = iw; lastH = ih; lastS = sRatio;	
	}
}